listitem: Move position/item/selected tracking to widget
authorBenjamin Otte <otte@redhat.com>
Sun, 3 Nov 2019 02:34:56 +0000 (03:34 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 30 May 2020 23:26:46 +0000 (19:26 -0400)
commit9d86020d4c0846dd55216d770ecff9d91f04b48d
tree3dbbd1e64309f08edbf98e3974102e2aa8b18619
parent32eedec565937cbc42115680c86fc260f2755452
listitem: Move position/item/selected tracking to widget

This way, we can ensure it's always there when we need it (before the
item gets created) and gone when we don't (if some GC language holds on
to the item after we've destroyed the widget).
gtk/gtklistitem.c
gtk/gtklistitemprivate.h
gtk/gtklistitemwidget.c